/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Starshield.Model
{

    /// <summary>
    ///  originCA
    /// </summary>
    public class OriginCA
    {

        ///<summary>
        /// The x509 serial number of the Origin CA certificate
        ///</summary>
        public string Id{ get; set; }
        ///<summary>
        /// The Origin CA certificate. Will be newline-encoded.
        ///</summary>
        public string Certificate{ get; set; }
        ///<summary>
        /// Array of hostnames or wildcard names (e.g., *.example.com) bound to the certificate
        ///</summary>
        public List<string> Hostnames{ get; set; }
        ///<summary>
        /// When the certificate will expire
        ///</summary>
        public string Expires_on{ get; set; }
        ///<summary>
        /// Signature type desired on certificate (&quot;origin-rsa&quot; (rsa), &quot;origin-ecc&quot; (ecdsa), or &quot;keyless-certificate&quot; (for Keyless SSL servers)
        ///</summary>
        public string Request_type{ get; set; }
        ///<summary>
        /// The number of days for which the certificate should be valid
        ///</summary>
        public double? Requested_validity{ get; set; }
        ///<summary>
        /// The Certificate Signing Request (CSR). Must be newline-encoded.
        ///</summary>
        public string Csr{ get; set; }
    }
}
